package com.engine4cloud.tdf.supervision.convert;

import com.engine4cloud.tdf.supervision.dto.create.RcglOccasionSignCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.RcglOccasionSignResultDTO;
import com.engine4cloud.tdf.supervision.entity.RcglOccasionSignEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface TerminalOccasionSignConvert {
    TerminalOccasionSignConvert INSTANCE = Mappers.getMapper(TerminalOccasionSignConvert.class);

    RcglOccasionSignEntity create(RcglOccasionSignCreateDTO s, Long tenantId);

    RcglOccasionSignResultDTO convert(RcglOccasionSignEntity s);

}
